home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / bitstrg.zip / LFREEBIT.C < prev    next >
C/C++ Source or Header  |  1980-01-01  |  446b  |  25 lines

  1. /*
  2.     librairie : bitstrg
  3.  
  4.     lfreebitarray --    restitution memoire d'un champ de bits
  5.  
  6.  
  7.                     Le parametre nombre de bits est de type unsigned long
  8.  
  9.     Attention : en Small Memory Model le champ Data est limite a 64Koctets
  10. */
  11.  
  12. #include <local\bitstrg.h>
  13.  
  14. /*
  15.     Restitution of the memory space of an array of bit
  16. */
  17.  
  18. void lfreebitarray(ptr)
  19.     struct LSPARRAY * ptr;        /* pointer on structure */
  20. {
  21.  
  22.     free(ptr->pntarray);
  23.     free(ptr);
  24. }
  25.